package com.tinem.platform.module.pojo.vo.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class GetAreasInfoVO {

    /**
     * 地区主键id
     */
//    @NotBlank(message = "areasSid is not blank")
    @NotNull
    @ApiModelProperty(name = "areasSid", value = "地区主键id",required = true)
    private String areasSid;

    @NotBlank(message = "langId is not blank")
    @ApiModelProperty(name = "langId", value = "语言id",required = true)
    private String langId;

//    @NotBlank(message = "parentId is not blank")
    @NotNull
    @ApiModelProperty(name = "parentId", value = "父级id，1-表示查询的是国家，其他查询的是省份",required = true)
    private String parentId;

}